package com.cfets.annualAssessment.entity;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.OrderBy;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

/**
 * Created by ShenYiChou on 2017/1/26.
 */
@Data
@Table(name = "t_parameter")
public class Parameter extends BaseEntity {

    private int para_type;

    @OrderBy("ASC")
    private int para_order;

    @NotEmpty(message = "参数显示值不能为空")
    private String para_value;

}
